package com.gack.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.query.Param;

import com.gack.business.model.AdvertisingPush;

public interface AdvertisingPushRepository extends JpaRepository<AdvertisingPush, String>, JpaSpecificationExecutor<AdvertisingPush> {
	
	List<AdvertisingPush> findByPushSwitch(@Param("pushSwitch") String pushSwitch);

}
